import { createApp, h  } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "vant/lib/index.css";
import { plugin } from 'echarts-for-vue';
import * as echarts from 'echarts';

import {
  Tabbar,
  TabbarItem,
  IndexBar,
  IndexAnchor,
  Cell,
  Divider,
  Rate,
  Button,
	Sticky,
	Tab, Tabs,
  Swipe, SwipeItem,
  Form, Field, CellGroup
} from "vant";
const app = createApp(App);
app.use(plugin, { echarts, h });   

app.use(IndexBar);
app.use(IndexAnchor);
app.use(Tabbar);
app.use(Cell);
app.use(TabbarItem);
app.use(Divider);
app.use(Rate);
app.use(Button);
app.use(Sticky);
app.use(Tab);
app.use(Tabs);
app.use(Swipe);
app.use(SwipeItem);
app.use(Form);
app.use(Field);
app.use(CellGroup);

app.use(store);
app.use(router);
app.mount("#app");
